//引用 express 框架
const express = require('express');
//创建路由
const home = express.Router();

//文章展示功能
home.get('/articles', require('./admin/articles'))

//将路由对象作为模块导出
module.exports = home